#ifndef STATUSBARCONTROLS_H
#define STATUSBARCONTROLS_H

#include <QWidget>
#include "free-cube/airefreshee.h"
#include "free-cube/aisequencer.h"
#include <QSharedPointer>

namespace Ui {
class StatusBarControls;
}

class StatusBarControls : public QWidget, public fc::AIRefreshee
{
    Q_OBJECT
    
public:
    explicit StatusBarControls(QWidget *parent = 0);
    ~StatusBarControls();
    void refresh(int time_elapsed);
    void set_model (fc::AISequencer & seq);
public slots:
    void on_btn_play_toggled(bool is_pressed);
    void on_btn_stop_pressed();
    void on_btn_cycle_toggled(bool is_pressed);
    
private:
    Ui::StatusBarControls *ui;
    fc::AISequencer * sequencer_;
};

#endif // STATUSBARCONTROLS_H
